<?php

class image extends CActiveRecord
{
	public static function model($className = __CLASS__ )
	{
		return parent::model($className);
	}
	
	function relations()
	{
		return array(
			"icategory" => array(self::BELONGS_TO, "icategory", "icategory_id"),
			"user" => array(self::BELONGS_TO, "user", "create_user_id"),
		);
	}
}
